package com.ewhome.apartment.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;
import com.alibaba.android.vlayout.LayoutHelper;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ewhome.apartment.R;
import com.jess.arms.utils.ArmsUtils;

import java.util.List;

/**
 * author:zhangjing
 * 作用:
 * return:
 */

public class NewsAdapter extends BaseQuickAdapter<String,BaseViewHolder>{
    private Context mContext;
    private LayoutHelper mlayoutHelper;

    public NewsAdapter(@Nullable List<String> data) {
        super(R.layout.card_news_item, data);
    }

    public NewsAdapter(int layoutResId) {
        super(layoutResId);
    }
    public NewsAdapter() {
        this(R.layout.card_news_item);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

    }

}


//    View view= LayoutInflater.from(mContext).inflate(R.layout.card_news_item,parent,false);
//        return new BaseViewHolder(view);
//}